package com.ado.abyss.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.ado.abyss.core.dal.model.SysUserRole;
import com.ado.abyss.core.manager.SysUserRoleManager;
import com.ado.abyss.core.service.SysUserRoleService;

@Service(value = "sysUserRoleService")
public class SysUserRoleServiceImpl implements SysUserRoleService{
	
	@Autowired
	@Qualifier(value = "sysUserRoleManager")
	private SysUserRoleManager sysUserRoleManager ;

	@Override
	public List<SysUserRole> findUserRoles(Long userId) {
		List<SysUserRole> sysUserRoles = sysUserRoleManager.findUserRoles(userId) ;
		return sysUserRoles;
	}

}
